package com.lottery.ruok.lottrey.retrofitModule.request;

import com.lottery.ruok.lottrey.retrofitModule.BaseModel;
import com.lottery.ruok.lottrey.retrofitModule.response.RegisterResponse;

import io.reactivex.Observable;
import retrofit2.http.Field;
import retrofit2.http.FormUrlEncoded;
import retrofit2.http.Header;
import retrofit2.http.POST;

/**
 * Created by ASUS on 2017/8/11.
 */

public interface RegisterRequest {
    @FormUrlEncoded
    @POST("register")
    Observable<BaseModel<RegisterResponse>> getResult(@Field("mobile_phone") String mobile_phone,
                                                      @Field("password") String password,
                                                      @Field("e164") String e164,
                                                      @Field("captcha") String captcha,
                                                      @Field("sms_code") String sms_code,
                                                      @Header("User-Agent") String info,
                                                      @Field("location") String location,
                                                      @Field("username") String username,
                                                      @Field("recommend_username") String recommend_username,
                                                      @Field("qq") String qq,
                                                      @Field("weixin") String weixin,
                                                      @Field("withdraw_password") String withdraw_password,
                                                      @Field("withdraw_realname") String withdraw_realname,
                                                      @Field("send_msg") String send_msg);


}
